package com.example.spmyb.dao;

import com.example.spmyb.poji.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @create 2022-03-2022/3/12-20:54
 */
@Mapper
@Repository
public interface userMapper {
    @Select("select * from user")
     public List<User> getAll();
}
